package com.example.employeemanagement.service;


import com.example.employeemanagement.dto.LoginResponseDto;
import com.example.employeemanagement.entry.Employee;
import com.example.employeemanagement.vo.LoginVo;
import com.example.employeemanagement.vo.RegisterVo;

public interface AuthService {
    // 登录
    LoginResponseDto login(LoginVo user);
    
    // 根据用户名获取用户信息
    Employee getUserInfoByUsername(String username);

    // 注册
    String register(RegisterVo user);

    String register(Employee user);
    
    // 退出登录
    boolean logout(String token);
}
